import 'package:flutter/material.dart';

import '../../config/public_color.dart';

/// FileName padding_vertical_divider
///
/// @Author lax
/// @Date 2023/7/4
///
/// @Description

class PaddingVerticalDivider extends StatelessWidget {
  final EdgeInsets? padding;

  final double width;

  final double? height;

  final Color? color;

  const PaddingVerticalDivider({
    super.key,
    this.padding = const EdgeInsets.symmetric(vertical: 16),
    this.width = 0.5,
    this.height,
    this.color,
  });

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: padding,
      height: height,
      child: VerticalDivider(
          width: width, thickness: width, color: color ?? PublicColor.divider),
    );
  }
}
